package com.hna.face.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hna.face.mapper.BfMenuMapper;
import com.hna.face.model.BfMenu;
import com.hna.face.service.IBfMenuService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *   服务实现类
 * </p>
 *
 * @author wx
 * @since 2017-06-20
 */
@Service
public class BfMenuServiceImpl extends ServiceImpl<BfMenuMapper, BfMenu> implements IBfMenuService {
	
	 @Autowired
		BfMenuMapper menuMapper;
	    
	    @Override
		public List<BfMenu> selectByUserNameAndPid(Map para) {
			// TODO Auto-generated method stub
			return menuMapper.selectByUserNameAndPid(para);
		}

		@Override
		public List<BfMenu> selectAdminMenu(Map para) {
			// TODO Auto-generated method stub
			return menuMapper.selectAdminMenu(para);
		}
	
}
